<template>
  <div id="app">
    <router-view />
    <dynamic-sub-page></dynamic-sub-page>
  </div>
</template>

<script>
import { mapGetters } from 'vuex'
import dynamicSubPage from '@/components/common/dynamicSubPage'
import Watermark from '@/utils/watermarktest'

export default {
  name: 'App',
  components: { dynamicSubPage },
  data() {
    return {
      systemEnvironment: process.env.NODE_ENV
    }
  },
  computed: {
    ...mapGetters(['token'])
  },
  methods: {
  },
  created() {
  },
  mounted() {
    this.$nextTick(() => {
      if ('production' !== this.systemEnvironment) {
        // Watermark.set('测试系统', document.getElementById('app'))
      }
    })
  }
}
</script>
